import request from '@/utils/request'
//  订单列表
export function GetOrderDataList(params) {
  return request({
    url: '/cloudApi/order/getOrderList',
    method: 'get',
    params
  })
}

// 获取订单的详情
export function GetOrderDetailData(params) {
  return request({
    url: '/cloudApi/order/getOrderData',
    method: 'get',
    params
  })
}

// 获取订单的日志记录
export function GetOrderLogList(params) {
  return request({
    url: '/cloudApi/order/getOrderLogList',
    method: 'get',
    params
  })
}

/**
 * 售后订单列表
 */
 export function getAftermarketList(params) {
  return request({
    url: '/cloudApi/order/orderReturn/getOrderReturnList',
    method: 'get',
    params
  })
}

/**
 * 售后订单详情
 */
 export function getAftermarketDetail(params) {
  return request({
    url: '/cloudApi/order/orderReturn/getOrderReturnData',
    method: 'get',
    params
  })
}

/**
 * 获取唯一物联码
 */
export function getGoodsUniqueCode(params) {
  return request({
    url: '/cloudApi/order/getGoodsUniqueCode',
    method: 'get',
    params
  })
}


